To use this extension, place this file in the “Voice Extensions” folder located in the “Extensions” folder in the System 7 Folder of your hard disk.
Extension Name:
AEVT
Description:
To send an AppleEvent to the current application.
Syntax:
@VXTN(AEVT,type,file,file,…)
Note on Pathnames: Pathnames are specified in the following manner:
HARDDRIVE:FOLDER:FOLDER:FILE
so the pathname:
"hd80:system folder:junk"
refers to the file named "junk" in the folder "system folder" on the hard drive "hd80". Use quotation marks around a pathname that contains spaces (like the above example.)
There are several special pathnames that can make your life easier. They only work with System 7.0.
{boot} is the name of your the hard disk with your System Folder
{system} is the pathname of your System Folder
{desktop} is the pathname of the Desktop Folder for your boot drive. This contains all the files on the desktop that can be found on your boot drive, but not files from other drives or disks.
{trash} is the pathname of the Trash Folder for your boot drive. This contains all the files in your trash can that have come from your boot drive, but not trashed files from other drives or disks.
{printmonitor} is the pathname of the folder which contains files waiting to be printed by the printmonitor.
{startup} is the pathname of the Startup Folder. Applications in this folder are automatically launched when the Macintosh is started up.
{apple} is the pathname of the Apple Menu Items folder. Items in this folder are added to your apple menu.
{control} is the pathname of the Control Panels folder.
{extension} is the pathname of the Extensions folder.
{preferences} is the pathname of the Preferences folder.
{temp} is the pathname of the Temporary Folder, used for temporary storage of items.
so the pathname:
"{system}junk" refers to the file or folder named "junk" in the system folder of your boot drive.
"{boot}zippy:crank" refers to the file or folder named "crank" in the folder "zippy" on your boot drive.
-Prints the two files “To Do” and “R&D”, following the specified path to find the documents.
@VXTN(AEVT,quit)
—Quits the current application.
Note: Currently, a voice command cannot exceed 128 characters, and this voice extension can reach this limit quite easily. For example, referring to two files that are located several folders deep on your hard disk will result in paths that take up most of those 128 characters. You may need to move the files higher up in order to use them with this extension.